﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;

namespace FwProject.Restaurant.Dto
{
    /// <summary>
    /// 店存盘点
    /// </summary>
    [AutoMap(typeof(StockCheckInfo))]
    public class StockCheckDto:EntityDto<Guid>
    {
        /// <summary>
        /// 盘点单号
        /// </summary>
        [Display(Name = "单号")]
        public string CreationNumber { get; set; }
        /// <summary>
        /// 餐厅编号
        /// </summary>
        [Display(Name = "餐厅编号")]
        public Guid RestaurantId { get; set; }
        /// <summary>
        /// 餐厅模型
        /// </summary>
        public RestaurantDto RestaurantInfoModel { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        [Display(Name = "经办人")]
        public string Person { get; set; }
        /// <summary>
        /// 应存数量
        /// </summary>
        [Display(Name = "应存数量")]
        public int Count { get; set; } = 0;
        /// <summary>
        /// 盘点数量
        /// </summary>
        [Display(Name = "盘点数量")]
        public int CheckCount { get; set; } = 0;
        /// <summary>
        /// 盈亏数量
        /// </summary>
        [Display(Name = "盈亏数量")]
        public int ProfitCount { get; set; } = 0;
        /// <summary>
        /// 盘点状态
        /// </summary>
        public StockCheckStatus StockCheckStatus { get; set; }

        public string RemarkContent { get; set; }
        public long? CreatorUserId { get ; set ; }
        public DateTime CreationTime { get ; set ; }
    }
}
